<template>
  <el-tabs v-model="activeName">
    <el-tab-pane label="未验货" name="first">
      <laos-to-china-passing v-if="activeName==='first'"/>
    </el-tab-pane>
    <el-tab-pane label="已验货" name="second">
      <laos-to-china-passed v-if="activeName==='second'"/>
    </el-tab-pane>
  </el-tabs>
</template>

<script>
  import LaosToChinaPassing from './passing'
  import LaosToChinaPassed from './passed'

  export default {
    name: "LaosToChina",
    components: {LaosToChinaPassing, LaosToChinaPassed},
    data() {
      return {
        activeName: 'first'
      }
    }
  }
</script>
